package com.ssm.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CSRFController {
    @GetMapping("loginPage")
    public String login(Model model) {
        return "login";
    }

    @RequestMapping("websocket")
    public String websocket() {
        return "websocket";
    }
}
